package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class ArtistInfo extends AppItem implements Serializable {
	String id;
	String uid;
	String realname;
	String imgurl;
	String is_auth;
	String follow_num;
	String art_num;
	String commend_num;
	String is_follow;
	String memo;
	String share;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		uid = obj.optString("uid");
		realname = obj.optString("realname");
		imgurl = obj.optString("imgurl");
		is_auth = obj.optString("is_auth");
		follow_num = obj.optString("follow_num");
		art_num = obj.optString("art_num");
		commend_num = obj.optString("commend_num");
		is_follow = obj.optString("is_follow");
		memo = obj.optString("memo");
		share = obj.optString("share");
	}

	public String getShare() {
		return share;
	}

	public void setShare(String share) {
		this.share = share;
	}

	public String getMemo() {
		return memo;
	}


	public void setMemo(String memo) {
		this.memo = memo;
	}


	public String getArt_num() {
		return art_num;
	}


	public void setArt_num(String art_num) {
		this.art_num = art_num;
	}


	public String getIs_follow() {
		return is_follow;
	}


	public void setIs_follow(String is_follow) {
		this.is_follow = is_follow;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getUid() {
		return uid;
	}


	public void setUid(String uid) {
		this.uid = uid;
	}


	public String getRealname() {
		return realname;
	}


	public void setRealname(String realname) {
		this.realname = realname;
	}


	public String getImgurl() {
		return imgurl;
	}


	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}


	public String getIs_auth() {
		return is_auth;
	}


	public void setIs_auth(String is_auth) {
		this.is_auth = is_auth;
	}


	public String getFollow_num() {
		return follow_num;
	}


	public void setFollow_num(String follow_num) {
		this.follow_num = follow_num;
	}


	


	public String getCommend_num() {
		return commend_num;
	}


	public void setCommend_num(String commend_num) {
		this.commend_num = commend_num;
	}


	public String getLs_follow() {
		return is_follow;
	}


	public void setLs_follow(String ls_follow) {
		this.is_follow = ls_follow;
	}


	@Override
	public String toString() {
		return "ArtistInfo [id=" + id + ", realname=" + realname + ", imgurl="
				+ imgurl + ", is_auth=" + is_auth + ", follow_num="
				+ follow_num + ", art_num=" + art_num + ", commend_num="
				+ commend_num + ", is_follow=" + is_follow + ", memo=" + memo
				+ "]";
	}

}
